package com.party.mapper;

import com.party.model.ExcellentPartyBranch;
import com.party.model.ExcellentPartyBranchExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExcellentPartyBranchMapper {
    int countByExample(ExcellentPartyBranchExample example);

    int deleteByExample(ExcellentPartyBranchExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ExcellentPartyBranch record);

    int insertSelective(ExcellentPartyBranch record);

    List<ExcellentPartyBranch> selectByExampleWithBLOBs(ExcellentPartyBranchExample example);

    List<ExcellentPartyBranch> selectByExample(ExcellentPartyBranchExample example);

    ExcellentPartyBranch selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ExcellentPartyBranch record, @Param("example") ExcellentPartyBranchExample example);

    int updateByExampleWithBLOBs(@Param("record") ExcellentPartyBranch record, @Param("example") ExcellentPartyBranchExample example);

    int updateByExample(@Param("record") ExcellentPartyBranch record, @Param("example") ExcellentPartyBranchExample example);

    int updateByPrimaryKeySelective(ExcellentPartyBranch record);

    int updateByPrimaryKeyWithBLOBs(ExcellentPartyBranch record);

    int updateByPrimaryKey(ExcellentPartyBranch record);


    /**
     * 自定义方法
     */
    public List<ExcellentPartyBranch> getListPage(ExcellentPartyBranchExample example);


    public List<ExcellentPartyBranch> getAllExcellentPartyBranch(ExcellentPartyBranchExample example);

    public List<ExcellentPartyBranch> getListPageByCustorm(ExcellentPartyBranch excellentParty);

    public List<ExcellentPartyBranch> getAllExcellentPartyBranchByCustom();
}